package com.baizhi.entity;

import java.io.Serializable;
//拍卖商品系统的用户实体类
public class User implements Serializable {
    private Integer userId;
    private String userName;
    private String userPassword;
    private Integer userIsadmin;

    public User() {
    }

    public User(Integer userId, String userName, String userPassword, Integer userIsadmin) {
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.userIsadmin = userIsadmin;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Integer getUserIsadmin() {
        return userIsadmin;
    }

    public void setUserIsadmin(Integer userIsadmin) {
        this.userIsadmin = userIsadmin;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userIsadmin=" + userIsadmin +
                '}';
    }
}
